package com.example.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.entity.User;
import com.example.demo.mapper.UserMapper;
//向User表插入用户名和密码
@Service
public class UserLoginService {
@Autowired
UserMapper usermapper;
public User Login(String username,String password) {
	return usermapper.Login(username,password);
}

}